package service.impl;import java.util.List;import javax.annotation.Resource;import org.springframework.stereotype.Service;import dao.TaskDao;import entity.TaskInfo;import service.TaskService;@Servicepublic class TaskServiceImpl implements TaskService {	@Resource(name="taskDao")	private TaskDao taskDao;		public TaskDao getTaskDao() {		return taskDao;	}	public void setTaskDao(TaskDao taskDao) {		this.taskDao = taskDao;	}	public List<TaskInfo> getList() {		return taskDao.getList();	}	public boolean add(TaskInfo ti) {		return taskDao.add(ti);	}	public TaskInfo findInfoById(Integer id) {		return taskDao.findInfoById(id);	}	public boolean update(TaskInfo ti) {		return taskDao.update(ti);	}	public boolean deleteById(Integer id) {		return taskDao.deleteById(id);	}}